package ooday04;

import ooday04.Animal;

public class Chick extends Animal {

    Chick(String name, int age, String color) {
        super(name, age, color);
    }

    void layEggs() {
        System.out.println(color + age + name + "下蛋");
    }

    void eat(){
        System.out.println(color+age+name+"shit");
    }
}